composer self-update --stable
$packages = json_decode($this->files->get($path), true);
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;
rm -rf composer.lock
rm -rf vendor
composer install